'''
Created on 14/06/2010

@author: Will
'''
from pyglet import clock




def getDt():
    fps = clock.get_fps()
    if fps<10:
        return 1/10
    else:
        return 1/fps
    